using UnityEngine;
using System.Collections;

public class SceneMgr : MonoBehaviour {

    public GUIText scorebox;

    Hashtable inventoryPuzzlePair = new Hashtable();

	// Use this for initialization
	void Start () { 
        inventoryPuzzlePair.Add("herb1", "mortar1");
        inventoryPuzzlePair.Add("wood1", "chulha1");
        
	}

    public string GetMatch(string inventoryItemTag)
    {
        if (inventoryPuzzlePair.ContainsKey(inventoryItemTag))
        {
            return (string)inventoryPuzzlePair[inventoryItemTag];
        }
        return "";
    }

    public bool HasMatch(string inventoryItemTag)
    {
        return inventoryPuzzlePair.ContainsKey(inventoryItemTag);
    }


    private int _score;
    public int Score
    {
        get { return _score; }
        set { 
            _score = value;
            scorebox.text = "Score :" + _score;
        }

    }

     


}
